﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.UI.HtmlControls;

namespace PersonalAlbum.Views.Shared
{
    public partial class Site : System.Web.Mvc.ViewMasterPage<PersonalAlbumModel>
    {
        protected override void OnInit(EventArgs e)
        {
            if (Model == null)
            {
                HttpContext.Current.Response.Redirect("/default.aspx");
            }
            else
            {
                this.Page.Title = Model.Configuration.SiteTitle + " " + Model.Localize("Master.Title");
            }
        }
        public Site()
        {
            
        }
    }
}
